home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 19
/
Mac Magazin and MacEasy Magazine CD - Issue 19.iso
/
Wissenschaft & Technik
/
BibTeX ƒ
/
Source code
/
bibtex.p
< prev
next >
Wrap
Text File
|
1996-02-18
|
8KB
|
641 lines
/* Protoypes grabbed from file
** "bibext.c"
** 1988 Aug 15 (Mon) 17:26:26
*/
char *
getenv( char *p);
/* vince
int
access( char *p, int i);
*/
BIBFILE *
openf(char *name,
char *mode);
int
eoln(BIBFILE *f);
void
lineread(BIBFILE *f,
int size);
void
setpaths(void);
int
testaccess(int wam,
int filepath);
packrealnameoffile(char **cpp);
int
getcmdline(char *buf,
int n); /* WARNING: argument was not declared! */
main(
int argc, /* WARNING: argument was not declared! */
char *argv[]);
/* Protoypes grabbed from file
** "BibTeX.c"
** 1988 Aug 21 (Sun) 13:24:59
*/
void printanewline(void);
void markwarning(void);
void markerror(void);
void markfatal(void);
void printoverflow(void);
void printconfusion(void);
void bufferoverflow(void);
boolean
zinputln(alphafile f); /* 15 */
void zoutpoolstr(alphafile f,
strnumber s);
void zprintapoolstr(strnumber s);
void pooloverflow(void);
void filenmsizeoverflow(void);
void zouttoken(alphafile f);
void printatoken(void);
void printbadinputline(void);
void printskippingwhateve(void);
void samtoolongfilenamepr(void);
void samwrongfilenameprin(void);
void printauxname(void);
void auxerrprint(void);
void zauxerrillegalanother(integer cmdnum);
void auxerrnorightbracepr(void);
void auxerrstuffafterrigh(void);
void auxerrwhitespaceinar(void);
void printbibname(void);
void printbstname(void);
void hashciteconfusion(void);
void zcheckciteoverflow(citenumber lastcite);
void auxend1errprint(void);
void auxend2errprint(void);
void bstlnnumprint(void);
void bsterrprintandlookfo(void);
void bstwarnprint(void);
void eatbstprint(void);
void unknwnfunctionclassc(void);
void zprintfnclass(hashloc fnloc);
void ztraceprfnclass(hashloc fnloc);
void idscanningconfusion(void);
void bstidprint(void);
void bstleftbraceprint(void);
void bstrightbraceprint(void);
void zalreadyseenfunctionp(hashloc seenfnloc); /* 10 */
void singlfnoverflow(void);
void biblnnumprint(void);
void biberrprint(void);
void bibwarnprint(void);
void zcheckfieldoverflow(integer totalfields);
void eatbibprint(void);
void zbiboneoftwoprint(ASCIIcode char1,
ASCIIcode char2); /* 10 */
void bibequalssignprint(void);
void bibunbalancedbracesp(void);
void bibfieldtoolongprint(void);
void macrowarnprint(void);
void bibidprint(void);
void bibcmdconfusion(void);
void citekeydisappearedco(void);
void zbadcrossreferencepri(strnumber s);
void nonexistentcrossrefe(void);
void zprintmissingentry(strnumber s);
void bstexwarnprint(void);
void bstmildexwarnprint(void);
void bstcantmesswithentri(void);
void illeglliteralconfusi(void);
void unknwnliteralconfusi(void);
void zprintstklit(integer stklt,
stktype stktp);
void zprintlit(integer stklt,
stktype stktp);
void outputbblline(void);
void bst1printstringsizee(void);
void bst2printstringsizee(void);
void zbracesunbalancedcomp(strnumber poplitvar);
void caseconversionconfus(void);
void traceandstatprinting(void);
boolean
zaopenin(palphafile *f);
boolean
zaopenout(palphafile *f);
void zstartname(strnumber filename);
void zaddextension(strnumber ext);
void zaddarea(strnumber area);
strnumber
makestring(void);
boolean
zstreqbuf(strnumber s,
buftype buf,
bufpointer bfptr,
bufpointer len); /* 10 */
boolean
zstreqstr(strnumber s1,
strnumber s2); /* 10 */
void zlowercase(buftype buf,
bufpointer bfptr,
bufpointer len);
void zuppercase(buftype buf,
bufpointer bfptr,
bufpointer len);
hashloc
zstrlookup(buftype buf,
bufpointer j,
bufpointer l,
strilk ilk,
boolean insertit); /* 40 45 */
void zpredefine(pdstype pds,
pdslen len,
strilk ilk);
void zinttoASCII(integer inte,
buftype intbuf,
bufpointer intbegin,
bufpointer *intend);
void zadddatabasecite(citenumber *newcite);
boolean
zfindcitelocsforthisc(strnumber citestr);
void zswap(citenumber swap1,
citenumber swap2);
boolean
zlessthan(citenumber arg1,
citenumber arg2); /* 10 */
void zquicksort(citenumber leftend,
citenumber rightend); /* 24 */
void zbuildin(pdstype pds,
pdslen len,
hashloc *fnhashloc,
bltinrange bltinnum);
void predefcertainstrings(void);
boolean
zscan1(ASCIIcode char1);
boolean
zscan1white(ASCIIcode char1);
boolean
zscan2(ASCIIcode char1,
ASCIIcode char2);
boolean
zscan2white(ASCIIcode char1,
ASCIIcode char2);
boolean
zscan3(ASCIIcode char1,
ASCIIcode char2,
ASCIIcode char3);
boolean
scanalpha(void);
void zscanidentifier(ASCIIcode char1,
ASCIIcode char2,
ASCIIcode char3);
boolean
scannonneginteger(void);
boolean
scaninteger(void);
boolean
scanwhitespace(void);
boolean
eatbstwhitespace(void);
void skiptokenprint(void);
void printrecursionillega(void);
void skptokenunknownfunct(void);
void skipillegalstuffafte(void);
void zscanfndef(hashloc fnhashloc); /* 25 10 */
boolean
eatbibwhitespace(void);
boolean
compressbibwhite(void);
boolean
scanbalancedbraces(void);
boolean
scanafieldtokenandea(void);
boolean
scanandstorethefield(void);
void zdecrbracelevel(strnumber poplitvar);
void zcheckbracelevel(strnumber poplitvar);
void znamescanforand(strnumber poplitvar);
boolean
vontokenfound(void);
void vonnameendsandlastna(void);
void skipstuffatspbracele(void);
void bracelvlonelettersco(void);
boolean
zenoughtextchars(bufpointer enoughchars);
void figureouttheformatte(void);
void zpushlitstk(integer pushlt,
stktype pushtype);
void zpoplitstk(integer *poplit,
stktype *poptype);
void zprintwrongstklit(integer stklt,
stktype stktp1,
stktype stktp2);
void poptopandprint(void);
void popwholestack(void);
void initcommandexecution(void);
void checkcommandexecutio(void);
void addpoolbufandpush(void);
void zaddbufpool(strnumber pstr);
void zaddoutpool(strnumber pstr);
void xequals(void);
void xgreaterthan(void);
void xlessthan(void);
void xplus(void);
void xminus(void);
void xconcatenate(void);
void xgets(void);
void xaddperiod(void);
void xchangecase(void);
void xchrtoint(void);
void xcite(void);
void xduplicate(void);
void xempty(void);
void xformatname(void);
void xinttochr(void);
void xinttostr(void);
void xmissing(void);
void xnumnames(void);
void xpreamble(void);
void xpurify(void);
void xquote(void);
void xsubstring(void);
void xswap(void);
void xtextlength(void);
void xtextprefix(void);
void xtype(void);
void xwarning(void);
void xwidth(void);
void xwrite(void);
void zexecutefn(hashloc exfnloc); /* 51 */
void getthetoplevelauxfil(void);
void auxbibdatacommand(void);
void auxbibstylecommand(void);
void auxcitationcommand(void);
void auxinputcommand(void);
void poptheauxstack(void);
void getauxcommandandproc(void);
void lastcheckforauxerror(void);
void bstentrycommand(void);
boolean
badargumenttoken(void);
void bstexecutecommand(void);
void bstfunctioncommand(void);
void bstintegerscommand(void);
void bstiteratecommand(void);
void bstmacrocommand(void);
void getbibcommandorentry(void);
void bstreadcommand(void);
void bstreversecommand(void);
void bstsortcommand(void);
void bststringscommand(void);
void getbstcommandandproc(void);
void initialize(void);
void main_body(void);